#ifndef CONVOLUTIONFILTER_H
#define CONVOLUTIONFILTER_H

#include "filter.h"
#include <QImage>

// filter that is base on convolution
class ConvolutionFilter : public Filter
{
public:
    ConvolutionFilter();
    ConvolutionFilter(int** filter, int width, int height);
    void filter(QImage* image);

protected:
    int width, height;
    int** matrix;
};

#endif // CONVOLUTIONFILTER_H
